﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="wctlPersonalDisponibilidadListar.ascx.vb" Inherits="Controls_wctlPersonalDisponibilidadListar" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="DevExpress.Web.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"    Namespace="DevExpress.Web.ASPxDataView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"  Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"   Namespace="DevExpress.Web.ASPxCallbackPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="Anthem" Namespace="Anthem" TagPrefix="anthem" %>
<%@ Register Assembly="AnthemExtensions" Namespace="AnthemExtensions" TagPrefix="anthemext" %><%@ Register assembly="DevExpress.Web.v10.1, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>

<style type="text/css">

    .style4
    {
        height: 21px;
        width: 94px;
    }

    .style2
    {
        height: 21px;
        width: 138px;
    }
    .style3
    {
        width: 100px;
        height: 30px;
    }
    .style5
    {
        width: 53%;
    }
    </style>
<fieldset style="font-size: 8pt; margin-left: 10px; width: 98%">
    <div>
        </div>
        <legend style="font-size: 11pt">
            <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/LogoPwC.jpg" /></legend>
        <br />
        &nbsp;
        <asp:Label ID="Label16" runat="server" CssClass="textMaroon" 
        Font-Bold="False" Font-Size="Large"
            Text="Disponibilidad Personal"></asp:Label><br />
        <table class="textMaroon" style="font-weight: bold; margin-left: 8px; width: 637px">
            <tr>
                <td colspan="4" style="height: 21px">
                    <table class="style5">
                        <tr>
                            <td>
                                <dx:ASPxCheckBox ID="chkNuevaAsignacion" runat="server" Text="Nueva Asignación" 
                                    Enabled="False">
                                </dx:ASPxCheckBox>
                            </td>
                            <td>
                                <dx:ASPxCheckBox ID="chkReemplazo" runat="server" Text="Reemplazo de Personal" 
                                    Enabled="False">
                                </dx:ASPxCheckBox>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td class="style4">
                    <asp:Label ID="Label2" runat="server" Font-Bold="False" Text="Código Persona:" 
                        Width="117px"></asp:Label></td>
                <td class="style2">
                    <anthem:textbox id="txtCodigo" runat="server" borderstyle="Solid" cssclass="textBoxMaroon"
                        maxlength="10" width="74px" Enabled="False"></anthem:textbox>
                </td>
                <td style="width: 100px; height: 21px">
                    &nbsp;</td>
                <td style="width: 100px; height: 21px">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style4">
                    <asp:Label ID="Label17" runat="server" Font-Bold="False" Text="Nombre Persona:" 
                        Width="117px"></asp:Label></td>
                <td class="style2">
                    <anthem:textbox id="txtNombrePersona" runat="server" borderstyle="Solid" cssclass="textBoxMaroon"
                        maxlength="10" width="214px" Enabled="False"></anthem:textbox>
                </td>
                <td style="width: 100px; height: 21px">
                    &nbsp;</td>
                <td style="width: 100px; height: 21px">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style4">
                    &nbsp;</td>
                <td class="style2">
                    &nbsp;</td>
                <td style="width: 100px; height: 21px">
                </td>
                <td style="width: 100px; height: 21px">
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="height: 21px" colspan="4">
        <span class="footerText">
                    <dx:ASPxGridView ID="dgvIntegrantesGrupo" runat="server" 
                        AutoGenerateColumns="False" Caption="Programación de la Persona"
                        ClientInstanceName="dgvIntegrantesGrupo" KeyFieldName="ID"
                        Width="644px" DataSourceID="DsrcDisponibilidad" Font-Names="Georgia">
                        <Styles>
                            <AlternatingRow Enabled="True">
                            </AlternatingRow>
                        </Styles>
                        <Columns>
                            <dx:GridViewDataTextColumn Caption="Proyecto" VisibleIndex="0" 
                                FieldName="prycodProyecto" Width="20px">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Actividad" VisibleIndex="1" 
                                FieldName="actdesActividad" Width="200px">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Fecha Programada" VisibleIndex="2" 
                                FieldName="Fecha" Width="50px">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Hora Inicio" VisibleIndex="3" 
                                FieldName="HoraI" Width="20px">
                            </dx:GridViewDataTextColumn>
                            <dx:GridViewDataTextColumn Caption="Hora Fin" VisibleIndex="4" 
                                FieldName="HoraF" Width="20px">
                            </dx:GridViewDataTextColumn>
                        </Columns>
                        <SettingsPager>
                            <AllButton Text="All">
                            </AllButton>
                            <NextPageButton Text="Next &gt;">
                            </NextPageButton>
                            <PrevPageButton Text="&lt; Prev">
                            </PrevPageButton>
                        </SettingsPager>
                        <ClientSideEvents RowClick="function(s, e) { OnRowClick(e);}" />
                    </dx:ASPxGridView>
                    <asp:ObjectDataSource ID="DsrcDisponibilidad" runat="server" 
                        SelectMethod="fuBLListarActividadesprogramPersonal" 
                        TypeName="BLGestionProyecto.BLGPProyecto">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="txtCodigo" Name="psPvacodPersona" 
                                PropertyName="Text" Type="String" />
                        </SelectParameters>
                    </asp:ObjectDataSource>
        </span>
                </td>
            </tr>
            <tr>
                <td style="height: 21px" colspan="4">
        <span class="footerText">
                    <asp:Label ID="lblmensaje" runat="server" Font-Size="Small" ForeColor="#C00000"></asp:Label>
        </span>
                </td>
            </tr>
            <tr>
                <td style="height: 21px" colspan="3">
                    <table>
                        <tr>
                            <td class="style3">
        <span class="footerText">
                                <asp:Button ID="btnAceptar" runat="server" CssClass="button2" 
                                    Text="Aceptar" Width="111px" />
        </span>
                            </td>
                            <td class="style3">
        <span class="footerText">
                                <asp:Button ID="btnCancelar" runat="server" CssClass="button2" 
                                    Text="Cancelar" Width="110px" />
        </span>
                            </td>
                        </tr>
                    </table>
                </td>
                <td style="height: 21px">
                    &nbsp;</td>
            </tr>
            </table>
    </div>
</fieldset>
